package com.gadgets.busi.bm01.fegin;

import com.gadgets.framework.common.dto.HttpBaseResp;
import com.gadgets.framework.common.exception.GadgetsServiceException;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2022-02-15
 */
@FeignClient(value = "gadgets-config-framework", contextId = "imgCoptController")
@SuppressWarnings("rawtypes")
public interface IImgCoptController {

    /**
     * 图片拷贝
     * @return                          统一应答结果
     * @throws GadgetsServiceException  异常信息
     */
    @RequestMapping(method = {RequestMethod.POST}, value = "/1024/imgCopy.do")
    HttpBaseResp copyImg(@RequestParam Map map) throws GadgetsServiceException;

}
